In vc ++ and MFC, when an SQL server statement is executed using ado and the true and false values of the returned values are determined, that is, the bool type, adobool
In mfc vc ++, You can query tables in the database to determine whether the
MFC VC + + in the database to query the table to determine whether the SQL statement execution successIf there is a return bool value of TRUE (1), if the failure returns a bool value of FALSE (0).The simple bool type code is as follows:CString
1. boolean value in T-SQLIn T-SQL, bits are used to express boolean values.(Bit is not necessarily stored as one character in SQL Server; in actual situations, bit is often stored as one byte and Multiple Digits .)In SQL Server Browser (2008),
From:http://database.51cto.com/art/201203/323863.htmMany people on the web are consulting MySQL for Boolean types? The MySQL database does provide a Boolean type that can be written as a Boolean type bool or Boolean type Boolean, but does the MySQL
(i) data type test (1). Boolean type Bool/boolean and micro-integral tinyint a). To create a test table structure Root@localhost:test 05:12:49> CREATE TABLE boolean_test (ID INT not NULL auto_increment, -> Online_flag BOOL, -> Lock_flag BOOLEAN, ->
Opening
When we use the enum and bool type attributes of the nhibernate, we need to persist more generally, and the database is irrelevant.
The enumeration is persisted as a string of corresponding integers, and NH is persisted as an integer by
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.